//
//  UIFontExtension.swift
//  DateNote
//
//  Created by 杨立鹏 on 2018/3/8.
//  Copyright © 2018年 杨立鹏. All rights reserved.
//

import UIKit

extension UIFont {
    
    static func mediumPingFangSCFont(_ size: CGFloat) -> UIFont{
        
        return UIFont(name: "PingFangSC-Medium", size: size)!
        
    }
    
    static func pxSize(_ size: CGFloat) -> UIFont {
        
        return UIFont.systemFont(ofSize: size * 0.75)
    }
}
